<template>
  <div class="header">
    <h2>饿了么</h2>
    <input type="text" placeholder="输入商家 商品名称" v-model="text">
  </div>
</template>

<script>
export default {
    data(){
        return{
            text:""
        }

    }
   
}
</script>

<style lang="scss" scoped>
.header{
    width: 100%;
    height: 100px;
    background-color: skyblue;
}
h2{
    color: white;
    margin-left: 20px;
}
input{
    width: 96%;
    height: 30px;
    border: none;
    outline: none;
    border-radius: 15px;
    background-color: #f5f5f5;
    margin-left: 5px;
    margin-top: 5px;
    text-align: center;
}

</style>